package models

import (
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Uid      uint64 `gorm:"uniqueIndex;not null"`
	UserName string `json:"username" form:"username" binding:"required" gorm:"size:50;uniqueIndex;not null"`
	Password string `json:"password" form:"password" binding:"required" gorm:"size:50;not null"`
	Token    string
}
